﻿/*
-----------------------------------
    Rodeo Game Engine
    Rodeo IO Module
    Importer.h - header file
    Copyright(c) Marcin Goryca
-----------------------------------
*/
#ifndef RODEO_IO_IMPORTER_H_
#define RODEO_IO_IMPORTER_H_

#ifndef RODEO_ENTITY_MODEL_H_
#include "entity\model.h"
#endif

#ifndef RODEO_CORE_RTTI_H_
#include "core\rtti.h"
#endif

namespace rodeoio
{
class Importer
{
public:
    Importer(){}
    virtual~Importer(){}

    virtual bool import(const char* filename)=0;

    virtual const std::string& getClassName()const = 0;

    // Gets Model object
    rodeoentity::Model* getModel() const
    {
        return model_;
    }

//==== MEMBERS ====//
protected:
    rodeoentity::Model* model_;
};
}    //end of rodeoio namespace
#endif	//RODEO_IO_IMPORTER_H_